PROUND

Syntax: PROUND (p, x)
Location: TRIPRODRO

PROUND is a function which rounds the given floating pointer number x to the precision of 10^p.

It looks at the next digit to decide whether to round upwards or downwards and ignores any others.

PRINT PROUND(-3, 10*RND)

CROSS-REFERENCE:
DROUND
